﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package net.wooga.pets.models.windows.factories {
    import flash.utils.*;
    import net.wooga.pets.views.windows.*;
    import net.wooga.pets.views.windows.sun.sunWindow.*;
    import net.wooga.pets.constants.windows.*;

    public class WindowsViewFactory implements IWindowsViewFactory {

        private var _classes:Dictionary;

        public function WindowsViewFactory(){
            this._classes = new Dictionary();
            super();
            this._classes[WindowsType.SUN_SPEECH_WINDOW] = SunNotificationWindow;
        }
        public function getViewByType(_arg1:String):IWindowView{
            var _local2:Class = Class(this._classes[_arg1]);
            var _local3:IWindowView = new (_local2);
            return (_local3);
        }

    }
}//package net.wooga.pets.models.windows.factories 
